package com.ruoyi.project.manhua.newXml;

import com.ruoyi.project.manhua.collect.domain.MhCollect;
import com.ruoyi.project.manhua.collect.mapper.MhCollectMapper;
import com.ruoyi.project.manhua.webLook.entity.MhWebChapter;
import com.ruoyi.project.manhua.webLook.entity.MhWebCollect;

import java.util.List;

/**
 * 用户收藏漫画Mapper接口
 * 
 * @author yuan
 * @date 2021-01-27
 */
public interface MhCollectNewMapper extends MhCollectMapper
{

    /**
     * 查找
     * @param mhCollect
     * @return
     */
    List<MhCollect> selectWebMhCollectList(MhWebCollect mhCollect);


    /**
     * 查看用户收藏数量
     * @param nameId
     * @return
     */
    Integer selectNameCount(Long nameId);

    /**
     * 字符串 拼接查询
     * @param ids
     * @return
     */
    List<MhCollect> selectMhCollectByIds(String[] ids);

}
